Part Number Hot Search : 
NMA4809S AD7396 MBR201 33M50V4X 073KE WCF10C60 90N20 TXV2N
Product Description
Full Text Search
 

To Download AD-12864-SPI Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  a a d d - - 1 1 2 2 8 8 6 6 4 4 - - s s p p i i l l c c d d m m o o d d u u l l e e u u s s e e r r m m a a n n u u a a l l v 1 . 0 C 2 0 0 9 . 0 9 a k i h a b a r a in c . h t t p : / / w w w . ai t e nd o. c o. j p http:// http://
r e v . h i n f o r m a t i o n f u r n i s h e d b y a k i h a b a r a i n c . , i s b e l i e v e d t o b e a c c u r a t e a n d r e l i a b l e . h o w e v e r , n o r e s p o n s i b i l i t y i s a s s u m e d b y a k i h a b a r a i n c . f o r i t s u s e , n o r f o r a n y i n f r i n g e m e n t s o f p a t e n t s o r o t h e r r i g h t s o f t h i r d p a r t i e s t h a t m a y r e s u l t f r o m i t s u se . n o l i c e n s e i s g r a n t e d b y i m p l i c a t i o n o r o t h e r w i s e u n d e r a n y p a t e n t o r p a t e n t r i g h t s o f a k i h a b a r a i n c .
t ab l e o f c o n t en t s 1 g e n e r a l d e s c r i p t i o n . . . . . . .. . . . . . . . . . . . . . . . . . . . . . . . ... . .. .. . .. .. .. .. .. .. . .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. . .. .. ... . .. .. .. .. .. .. .. .. . .. .. .. .. .. .. .. ... . . . . 1 1 . 1 f e a t u r e s . . . . . . . . . . . . . . .. . . . . . . . . . . . . . . . .. . . .. .. .. .. .. .. .. ... . .. .. .. .. . ... . .. .. .. .. .. .. .. .. .. .. .. .. . .. .. .. .. .. .. .. .. .. .. .. .. . .. .. .. .. .. ... . .. .. . . . 1 1 . 2 e l e c t r i c a l p a r a m e t e r s . . . . . . . . . . . . . . .. .. .. .. .. .. .. . .. .. .. .. .. .. .. .. .. .. .. .. . .. .. .. .. .. .. .. .. .. .. .. .. .. .. . .. .. .. .. .. .. .. .. ... . .. .. .. .. . . .. 1 1 . 3 b l o c k d i a g r a m . . . . . .. . . . . . . . . . . . . . . . . . . .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. . .. .. .. ... . .. .. .. .. .. .. .. . .. .. .. .. .. .. .. .. .. ... . .. .. . .. .. .. .. .. .. .. . . .. 2 2 l c d s p e c i f i c a t i o n . . . . . .. . . . . . . . . . . . . . . . . . . . . . . . . .. . . .. . .. .. . .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. . .. .. .. .. .. .. .. ... . .. .. .. . .. .. .. .. .. .. .. .. .. .. .. .. . .. .. . .. . 3 2 . 1 d i s p l a y d a t a r a m . . . . . . . .. . . . . . . . . . . . . .. .. .. .. .. . . .. .. .. .. .. .. .. .. . .. .. .. .. .. .. ... . .. .. .. .. . .. .. .. .. .. .. .. .. .. .. .. .. . ... .. .. .. .. . .. .. . . .. 3 2 . 2 c o l u m n a n d l i n e a d d r e s s . . . . . . .. .. . .. .. .. .. . . .. .. .. .. .. .. .. . .. .. .. .. .. .. .. .. .. .. .. .. . .. .. .. .. .. .. .. .. .. .. .. .. . .. .. .. .. ... . .. .. .. . . 4 2 . 3 o p e r a t i n g t i m i n g . . . . . . . . . . . .. . . . . . . . . .. . . . .. .. ... . .. .. .. .. .. .. .. .. . .. .. .. .. .. .. .. .. .. .. .. .. . .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. . .. .. . . . 4 2 . 4 c o n t r o l c o m m a n d s . . . . . . . . . . . . . . . . . .. .. .. .. . . .. .. .. .. .. .. .. .. .. .. . ... . .. .. .. .. .. ... . .. .. .. .. . .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. . .. .. .. . . 4 2 . 4 . 1 d i s p l a y o n / o f f . . . .. . . . . . . . . . . . . . . . . . . . . .. .. .. .. .. .. .. .. .. .. .. .. .. .. . .. .. .. .. ... . .. .. .. .. .. .. . ... . .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. . .. .. .. . . 5 2 . 4 . 2 d i s p l a y s t a r t l i n e s e t . . . . . . . . . . . . . .. .. .. . . . .. .. . . .. . . .. . . .. .. .. .. . .. .. .. .. .. .. .. .. .. .. .. .. . .. .. .. .. .. .. .. .. .. .. .. .. . ... .. .. .. . .. .. .. . . . 5 2 . 4 . 3 p a g e a d d r e s s s e t . . . . . . . . . . . . . . . . . . . . . .. .. . ... .. .. .. . . . . . .. .. .. .. .. .. .. .. .. .. .. . . .. .. .. .. .. .. . .. .. .. .. .. .. .. .. .. .. .. .. . .. .. .. .. .. .. .. .. . . . 5 2 . 4 . 4 c o l u m n a d d r e s s s e t . . . . . . . . . . . . . . . . .. .. . . .. .. . . . .. .. .. .. . . .. . . .. .. .. .. . .. .. .. .. .. ... . .. .. .. .. .. .. .. .. . .. .. .. .. .. .. .. .. .. .. .. .. . .. .. .. . . 5 2 . 4 . 5 r e a d s t a t u s 5 2 . 4 . 6 d i s p l a y d a t a w r i t e . . . . . . . . . . . . . .. . . . . . .. .. . . .. .. ... . . . .. . . .. .. . . .. .. .. .. .. .. .. . .. .. .. .. .. .. .. .. .. .. .. .. . .. .. .. .. ... . .. .. .. .. .. .. . .. . . .. . 6 2 . 4 . 7 d i s p l a y d a t a r e a d . . . . . . .. . . . . . . . . . . . . . . . . .. . . . .. .. .. .. . . .. . . .. .. . . . .. .. .. .. .. .. ... . .. .. .. .. . .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. . .. .. .. . . . 6 2 . 4 . 8 a d c s e l e c t ( s e g m e n t d r i v e r d i r e c t i o n s e l e c t ) . .. .. . .. . . .. .. .. .. .. .. .. . . .. .. . .. .. .. .. .. . . .. .. .. . . .. .. .. .. .. .. .. .. . .. . . .. . 6 2 . 4 . 9 d i s p l a y n o r m a l / r e v e r s e . . . . .. . . . .. .. .. .. . .. . . . . .. .. . . ... . .. .. . . .. .. .. .. .. . .. . . .. .. .. .. .. .. .. .. .. .. . .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. . . . 7 2 . 4 . 1 0 d i s p l a y a l l p o i n t s o n / o f f . . . . .. . .. .. .. .. .. . . . . . . .. .. . . .. .. . .. . . .. . . .. .. .. . . .. .. . . .. . .. .. .. .. ... . .. .. .. .. .. .. .. .. .. .. .. .. .. . .. .. . . 7 2 . 4 . 1 1 l c d b i a s s e t . . . . . . . . . . . . . . .. . . . . . . . . . . . . .. . .. .. . . . . .. .. . . . .. . . .. .. . . .. . . .. .. .. .. .. .. . .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. . .. .. .. .. .. .. .. .. . . . 7 2 . 4 . 1 2 r e a d / m o d i f y / w r i t e m o d e s e t .. .. .. .. . .. .. .. .. .. .. .. . . . . .. .. .. . .. .. .. .. .. .. .. .. . . .. .. . .. . . .. .. .. .. .. .. .. . . .. .. . .. .. .. .. .. .. ... . .. . 7 2 . 4 . 1 3 r e a d / m o d i f y / w r i t e m o d e e n d . .. .. .. .. .. .. .. .. . .. .. .. .. . . . . . .. .. . . .. .. .. .. .. .. .. .. . . . .. . . .. . .. .. .. . .. .. .. .. .. .. .. .. .. .. .. . .. .. .. . 7 2 . 4 . 1 4 r e s e t 8 2 . 4 . 1 5 c o m m o n o u t p u t m o d e s e l e c t . .. .. .. .. . .. .. .. . . . .. .. .. . . .. .. .. . . . .. .. . . .. .. .. . . .. .. . . . .. . . .. ... .. .. . .. .. .. .. .. .. .. .. .. .. .. . ... . .. . 8 2 . 4 . 1 6 p o w e r c o n t r o l l e r s e t .. . . . . . . .. . . .. .. .. . .. .. . .. .. .. ... . .. .. .. . . . . .. .. .. . . .. .. . .. .. .. . . .. . . .. . . .. .. .. .. .. .. . .. .. .. .. ... . .. .. .. .. .. .. . . . .. 8 2 . 4 . 1 7 v 5 v o l t a g e r e g u l a t o r i n t e r n a l r e s i s t o r r a t i o s e t .. .. .. .. .. .. .. . . . .. .. .. . . . . .. .. .. .. . . .. .. .. .. . .. .. .. .. . . .. .. .. . . .. . . . . . 8 2 . 4 . 1 8 e l e c t r o n i c v o l u m e m o d e s e t . .. .. . .. .. .. .. .. . .. .. .. .. .. .. .. .. .. .. . . . . .. . .. . . .. .. .. .. . . . .. .. . . . .. .. . . . . . .. .. .. .. .. .. .. .. .. .. .. . . . .. 9 2 . 4 . 1 9 s t a t i c i n d i c a t o r . . . . . . . . . . . . . . . . . .. . . . . .. .. .. . ... .. .. .. .. . .. .. .. .. . . . . .. .. . . .. ... . . . . .. .. .. .. . . .. .. .. .. .. .. . .. ... .. .. .. . .. .. .. .. .. .. . .. . . .. . 9 2 . 4 . 2 0 p o w e r s a v e m o d e . . . . . . . . . . . . . . . . . . . .. .. .. .. .. .. . .. .. .. .. . .. .. .. .. .. .. . . . . .. .. .. .. . .. .. . . .. . . .. .. . . .. .. .. .. . .. .. ... .. . .. .. .. .. . . .. .. . . . 1 0 3 s a m p l e s o u r c e c o d e . . . . . . . . . . . . . . . . . . . . .. . . . . . . . . . ... . .. .. . .. .. .. .. .. .. . .. .. .. . . . . .. . . .. .. . . .. .. .. . . .. . . .. .. . .. .. ... . .. .. .. .. .. .. .. .. . .. .. .. .. .. .. . .. . . . 1 1 3 . 1 a d 1 2 8 6 4 s p i l c d d r i v e r c o d e b a s e d o n m c s 5 1 . .. .. .. .. .. .. .. .. . .. .. .. .. .. .. ... . . . .. . . .. . .. .. .. ... .. . .. . . . 1 1 4 s a l e s a n d d e s i g n s u p p o r t . . . .. . . . . . . . . . . . . . . . . . . . . . . .. .. .. .. .. .. .. .. . .. .. .. .. .. .. .. . . .. . . . . .. .. . . . . . .. .. .. . . .. .. .. . . .. .. .. . .. .. .. .. .. .. .. .. .. .. .. .. . . . 1 4
1 1 g e n e r a l d e s c r i p t i o n 1 . 1 f e a t u r e s t h e a d 1 2 8 6 4 s p i , a 1 2 8 6 4 d o t m a t r i x l i q u i d c r y s t a l d i s p l a y m o d u l e . i t u s e s c o g , i n t e g ra t e d c o n t r o l u n i t , d i s p l a y m e m o r y a n d d r i v e r. a k i h a b a r a i n c . d e s i g n e d s p e c i a l i n t e r f a c e a n d f i x e d t h e r o w g l a s s , b a c k l i g h t b o a r d a n d p c b w i t h a m e t a l f r a m e , u s e r s c a n u s e i t c o n v e n i e n t l y a n d e a s i l y .  1 2 8 6 4 d o t m a t r i x f s t n  t h e d u t y r a t i o i s 1 / 6 4 , b i a s r a t i o i s 1 / 9  i t u s e s s i g l e p o w e r  p r o g r a m m a b l e c o n t r a s t  o n l y w r i t e s p i s e r i a l i n t e rf a c e  3 . 3 v w h i t e b a c k l i g h t 1 . 2 e l e c t r i c a l p a r a m e t e r s v 6 5 4 1 a d o d a v k 8 1 p k m 4 t a l 6 8 6 f 1 c 1 8 p p a rameters symbol min max units s u p p l y v o l t a g e v d d 0 . 3 5 v i n put voltage vin 0.3 vdd+0.3 v o p erating temperature topr 0 50 s t orage temperature tstr 20 60 p r 5 n i a w a n i h : b t h r n p r b r l i : i b . p a r a m e t e r s symbol condition min typ max units s u pply voltage vdd 3 . 0 3 . 3 v i n p u t v o l t a g e h i g h l e v e l v i h 0 . 8 v d d v d d v l o w l e v e l v i l v s s 0 . 2 v d d l c d s u p p l y v o l t a g e v l c d 3 . 0 v
2 1 . 3 b l o c k d i a g r a m t h e b l o c k d i a g r a n o f a d 1 2 8 6 4 s p i l c d m o d u l e i s s h o w n i n f i g u r e 1 . 1 . 29mm 23.8mm
3 2 l c d s p e c i f i c a t i o n 2 . 1 d i s p l a y d a t a r a m t h e d i s p l a y d a t a r a m o f ad 1 2 8 6 4 s p i l c d m o d u l e s t o r e s t h e d o t d a t a f o r t h e l c d , e v e r y d o t d a t a c a n d i s p l a y o n e c o rr e s p o n d i n g d o t i n l c d . i t h a s a 6 5 ( 8 p a g e 8 b i t + 1 ) 1 3 2 b i t s t r u c t u r e . a d 1 2 8 6 4 s p i l c d m o d u l e c a n d i s p l a y 6 4 1 2 8 p i x e l , s o i t o n l y u s e s 6 4 1 2 8 b i t s r a m , i f b y t e a s i t s u n i t , t h e r e a r e 8 p a g e s , e a c h p a g e i s 8 c o l u m n s , a n d e a c h c o l u m n i s 1 2 8 b i t s . o n e b y t e d a t a o f l c d d r i v e r i c r a m c o r r e s p o n d s t o t h e l c d d i s p l a y c o m m o n d i r e c t i o n , a s f i g u r e 2 . 1 a n d t a b l e 2 . 1 . l c d d 0 d1 d2 d3 d4 d5 d6 d7 b 0 b 1 b 2 b 3 b 4 b 5 b 6 b 7 8 b i t s d a t a f i g u r e 2 . 1 r a m d a t a a n d l c d d i s p l a y d i a g r a m t a b l e 2 . 1 r a m d a t a a n d l c d d i s p l a y d i a g r a m c o m c o l lcd x f r o m l e f t t o r i g h t 0 1 2 3 125 126 127 l c d y from top to bottom p a g e 0 8 b i t d a t a 0 b i t 0 b i t 0 b i t 0 b i t 0 b i t 0 b i t 0 b i t 0 1 b i t 1 b i t 1 b i t 1 b i t 1 b i t 1 b i t 1 b i t 1 2 b i t 2 b i t 2 b i t 2 b i t 2 b i t 2 b i t 2 b i t 2 6 b i t 6 b i t 6 b i t 6 b i t 6 b i t 6 b i t 6 b i t 6 7 b i t 7 b i t 7 b i t 7 b i t 7 b i t 7 b i t 7 b i t 7 p a g e 1 8 b i t d a t a 8 b i t 0 b i t 0 b i t 0 b i t 0 b i t 0 b i t 0 b i t 0 9 b i t 1 b i t 1 b i t 1 b i t 1 b i t 1 b i t 1 b i t 1 1 5 b i t 7 b i t 7 b i t 7 b i t 7 b i t 7 b i t 7 b i t 7 p a g e 7 8 b i t d a t a 5 6 b i t 0 b i t 0 b i t 0 b i t 0 b i t 0 b i t 0 b i t 0
4 5 9 b i t 7 b i t 7 b i t 7 bit7 b i t 7 b i t 7 bit7 6 0 b i t 0 b i t 0 b i t 0 bit0 b i t 0 b i t 0 bit0 6 1 b i t 1 b i t 1 b i t 1 bit1 b i t 1 b i t 1 bit1 6 2 b i t 2 b i t 2 b i t 2 bit2 b i t 2 b i t 2 bit2 6 3 b i t 3 b i t 3 b i t 3 bit3 b i t 3 b i t 3 bit3 2 . 2 c o l u m n a n d l i n e a d d r e s s a s f i g u r e 2 . 1 a n d t a b l e 2 . 1 , w h e n l i g h t i n g a d o t i n l c d , f i r s t w i l l n e e d t o k n o w t h e c o l u m n a n d l i n e a d d r e s s , a n d f i n d t h e c o r r e s p o n d i n g b i t , s e t i t t o 1 . b e c a u s e t h e a d 1 2 8 6 4 s p i l c d m o d u l e c o l u m n a d d r e s s i s i n d e p e n d e n t o f t h e p a g e a d d r e s s , o n e p a g e i s 8 c o l u m n . t h e l i n e a d d r e s s i s l c d x c o o r d i n a t e , f r o m l e f t t o r i g h t , o n e b y t e d a t a c o r r e s p o n d t o o n e l i n e i n r am , t h e r e a r e 1 2 8 l i n e s i n t o t a l . t h e n , m c u c a n c o n t r o l l c d d r i v e r i c t o c o n t r o l l c d d i s p l a y . n o t e , t h e d i s p l a y r a m o f a d - 1 2 8 6 4 - s p i i s m o r e t h a n l c d d i s p l a y n e e d , u s e r s c a n r e f e r t h e d e m o t o s e t p r o p e r p a ta m e t e r s . 2 . 3 o p e r a t i n g t i m i n g a d 1 2 8 6 4 s p i m o d u l e h a s s p i s e r i a l i n t e r f a c e , t h e w r i t e t i m i n g i s s h o w n i n f i g u r e 2 . 2 . f i g u r e 2 . 2 s p i t i m i n g 2 . 4 c o n t r o l c o m m a n d s a d 1 2 8 6 4 s p i l c d m o d u l e h a s 2 2 c o m m a n d s . u s e r s a l s o c a n r e f e r s t 7 6 0 5 d a t a s h e e t . n o t e , a 0 p i s a 0 .
5 2 . 4 . 1 d i s p l a y o n / o f f 2 . 4 . 2 d i s p l a y s t a r t l i n e s e t t h i s c o m m a n d i s u s e d t o s p e c i f y t h e d i s p l a y s t a r t l i n e a d d r e s s o f t h e d i s p l a y d a t a r a m . 2 . 4 . 3 p a g e a d d r e s s s e t 2 . 4 . 4 c o l u m n a d d r e s s s e t t h i s c o m m a n d s p e c i f i e s t h e c o l u m n a d d re s s o f t h e d i s p l a y d a t a r am . t h e c o l u m n a d d r e s s i s s p l i t i n t o t w o s e c t i o n s ( t h e h i g h e r 4 b i t s a n d t h e l o w e r 4 b i t s ) w h e n i t i s s e t ( f u n d a m e n t a l l y , s e t c o n t i n u o u s l y ) , a s t a b l e 2 . 2 , i f d b 4 i s 0 , l o w e r 4 b i t h a s b e e n s e t , a n d d b 4 i s 1 , h i g h e r h a s d o n e . t a b l e 2 . 2 c o l u n m a d d r e s s s e t c o m m a n d 2 . 4 . 5 r e a d s t a t u s
6 b u s y b u s y = 1 : i t i n d i c a t e s t h a t e i t h e r p r o c e s s i n g i s o c c u r r i n g i n t e r n a l l y o r a r e s e t c o n d i t i o n i s i n p r o c e s s . b u s y = 0 : a n e w c o m m a n d c a n b e a c c e p t e d . i f t h e c y c l e t i m e c a n b e s a t i s f i e d , t h e re i s n o n e e d t o c h e c k f o r b u s y c o n d i t i o n s . a d c t h i s s h o w s t h e re l a t i o n s h i p b e t w e e n t h e c o l u m n a d d r e s s a n d t h e s e g m e n t d r i v e r . 0 : n o rm a l ( c o l u m n a d d r e s s n ? s e g n ) 1 : r e v e r s e ( c o l u m n a d d r e s s 1 3 1 n ? s e g n ) ( t h e a d c c o m m a n d s w i t c h e s t h e p o l a r i t y . ) on/off o n / o f f : i n d i c a t e s t h e d i s p l a y o n / o f f s t a t e . 0 : d i s p l a y o n 1 : d i s p l a y o f f (t h i s d i s p l a y o n / o f f c o m m a n d s w i t c h e s t h e p o l a r i t y . ) r e s e t t h i s i n d i c a t e s t h a t t h e c h i p i s i n t h e p r o c e s s o f i n i t i a l i z a t i o n e i t h e r b e c a u s e o f a / r e s s i g n a l o r b e c a u s e o f a r e s e t c o m m a n d . 0 : o p e r a t i n g s t a t e 1 : r e s e t in progress 2 . 4 . 6 d i s p l a y d a t a wr i t e t h i s c o m m a n d w r i t e s 8 b i t d a t a t o t h e s p e c i f i e d d i s p l a y d a t a r a m a d d r e s s . t h e c o l u m n a d d r e s s i s a u t o m a t i c a l l y i n c r e m e n t e d b y 1 a f t e r t h e w r i t e . 2 . 4 . 7 d i s p l a y d a t a r e a d t h i s c o m m a n d r e a d s 8 b i t d a t a f r o m t h e s p e c i f i e d d i s p l a y d a t a r a m a d d r e s s . t h e c o l u m n a d d r e s s i s a u t o m a t i c a l l y i n c r e m e n t e d b y 1 a f t e r t h e r e a d . n o t e , w h e n t h e s e r i a l i n t e r f a c e i s u s e d , r e a d i n g o f t h e d i s p l a y d a t a b e c o m e s u n a v a i l a b l e . 2 . 4 . 8 a d c s e l e c t ( s e g m e n t d r i v e r d i r e c t i o n s e l e c t ) t h i s c o m m a n d c a n r e v e r s e t h e c o r r e s p o n d e n c e b e t w e e n t h e d i s p l a y r a m d a t a c o l u m n a d d r e s s a n d t h e s e g m e n t d r i v e r o u t p u t . t h u s , s e q u e n c e o f t h e s e g m e n t d r i v e r o u t p u t p i n s m a y b e r e v e r s e d b y t h e c o m m a n d .
7 2 . 4 . 9 d i s p l a y n o r m a l / r e v e r s e t h i s c o m m a n d c a n r e v e r s e t h e l i t a n d u n l i t d i s p l a y w i t h o u t o v e r w r i t i n g t h e c o n t e n t s o f t h e d i s p l a y d a t a r a m . w h e n t h i s i s d o n e t h e d i s p l a y d a t a r a m c o n t e n t s a r e m a i n t a i n e d . 2 . 4 . 1 0 d i s p l a y a l l p o i n t s o n / o f f t h i s c o m m a n d m a k e s i t p o s s i b l e t o f o r c e a l l d i s p l a y p o i n t s o n re g a r d l e s s o f t h e c o n t e n t o f t h e d i s p l a y d a t a r a m . t h e c o n t e n t s o f t h e d i s p l a y d a t a r a m a r e m a i n t a i n e d w h e n t h i s i s d o n e . t h i s c o m m a n d t a k e s p r i o r i t y o v e r t h e d i s p l a y n o r m a l / r e v e r s e c o m m a n d . 2 . 4 . 1 1 l c d b i a s s e t t h i s c o m m a n d s e l e c t s t h e v o l t a g e b i a s r a t i o re q u i re d f o r t h e l i q u i d c r y s t a l d i s p l a y . 2 . 4 . 1 2 r e a d / m o d i f y / wr i t e m o d e s e t t h i s c o m m a n d i s u s e d p a i re d w i t h t h e e n d c o m m a n d . o n c e t h i s c o m m a n d h a s b e e n i n p u t , t h e d i s p l a y d a t a r e a d c o m m a n d d o e s n o t c h a n g e t h e c o l u m n a d d r e s s , b u t o n l y t h e d i s p l a y d a t a w ri t e c o m m a n d i n c r e m e n t s ( + 1 ) t h e c o l u m n a d d r e s s . t h i s m o d e i s m a i n t a i n e d u n t i l t h e e n d c o m m a n d i s i n p u t . w h e n t h e e n d c o m m a n d i s i n p u t , t h e c o l u m n a d d r e s s r e t u rn s t o t h e a d d r e s s i t w a s a t w h e n t h e r e a d / m o d i f y / w r i t e c o m m a n d w a s e n t e r e d . t h i s f u n c t i o n m a k e s i t p o s s i b l e t o r e d u c e t h e l o a d o n t h e m c u w h e n t h e r e a r e re p e a t i n g d a t a c h a n g e s i n a s p e c i f i e d d i s p l a y r e g i o n , s u c h a s w h e n t h e re i s a b l a n k i n g c u rs o r . 2 . 4 . 1 3 r e a d / m o d i f y / wr i t e m o d e e n d t h i s c o m m a n d r e l e a s e s t h e r e a d / m o d i f y / w r i t e m o d e , a n d r e t u rn s t h e c o l u m n a d d r e s s t o t h e a d d r e s s i t w a s a t w h e n t h e m o d e w a s e n t e r e d .
8 2 . 4 . 1 4 r e s e t t h i s c o m m a n d i n i t i a l i z e s t h e d i s p l a y s t a r t l i n e , t h e c o l u m n a d d r e s s , t h e p a g e a d d r e s s , t h e c o m m o n o u t p u t m o d e , a n d t h e r e a d / m o d i f y / w ri t e m o d e a n d t e s t m o d e a r e r e l e a s e d . t h e r e i s n o i m p a c t o n t h e d i s p l a y d a t a r a m . 2 . 4 . 1 5 c o m m o n o u t p u t m o d e s e l e c t t h i s c o m m a n d c a n s e l e c t t h e s c a n d i r e c t i o n o f t h e c o m o u t p u t t e r m i n a l . a 0 p e p /rd r w p / w r d b 7 d b 6 d b 5 d b 4 d b 3 d b 2 d b 1 d b 0 s e le c t s t a t u s 0 1 0 1 1 0 0 0 1 n o rm a l c o m 0  c o m 6 3 r e v e r s e c o m 6 3  c o m 0 2 . 4 . 1 6 p o w e r c o n t r o l l e r s e t 2 . 4 . 1 7 v 5 v o l t a g e r e g u l a t o r i n t e r n a l r e s i s t o r r a t i o s e t
9 2 . 4 . 1 8 e l e c t r o n i c v o l u m e m o d e s e t t h i s i s a d o u b l e b y t e c o m m a n d , i t u s e d t o a d j u s t t h e b r i g h t n e s s o f t h e l i q u i d c r y s t a l d i s p l a y . t a b l e 2 . 3 i s e l e c t r o n i c v o l u m e m o d e s e t c o m m a n d , a n d t a b l e 2 . 4 i s e l e c t r o n i c v o l u m n r e g i s t e r s e t . t a b l e 2 . 3 t a b l e 2 . 4 t h e e l e c t ro n i c v o l u m e r e g i s t e r c a n b e s e t a s s h o w n i n f i g u r e 2 . 3 . f i g u r e 2 . 3 e l e c t r o n i c v o l u m e r e g i s t e r s e t 2 . 4 . 1 9 s t a t i c i n d i c a t o r t h i s c o m m a n d c o n t r o l s t h e s t a t i c d r i v e s y s t e m i n d i c a t o r d i s p l a y . i t i s a n o t h e r d o u b l e b y t e c o m m a n d . t a b l e 2 . 5 s t a t i c i n d i c a t o r o n / o f f t a b l e 2 . 6 s t a t i c i n d i c a t o r r e g i s t e r s e t
1 0 2 . 4 . 2 0 p o w e r s a v e m o d e w h e n t h e d i s p l a y a l l p o i n t s o n i s p e r f o r m e d w h i l e t h e d i s p l a y i s i n t h e o f f m o d e , t h e p o w e r s a v e m o d e i s e n t e r e d , t h u s g r e a t l y r e d u c i n g p o w e r c o n s u m p t i o n . t h e p o w e r s a v e r m o d e h a s t w o d i f f e r e n t m o d e s : t h e s l e e p m o d e a n d t h e s t a n d b y m o d e . w h e n t h e s t a t i c i n d i c a t o r i s o f f , i t i s t h e s l e e p m o d e t h a t i s e n t e r e d . w h e n t h e s t a t i c i n d i c a t o r i s o n , i t i s t h e s t a n d b y m o d e t h a t i s e n t e r e d . i n t h e s l e e p m o d e a n d i n t h e s t a n d b y m o d e , t h e d i s p l a y d a t a i s s a v e d a s i s t h e o p e r a t i n g m o d e t h a t w a s i n e f f e c t b e f o r e t h e p o w e r s a v e m o d e w a s i n i t i a t e d , a n d t h e m c u i s s t i l l a b l e t o a c c e s s t h e d i s p l a y d a t a r a m . f i g u r e 2 . 4 p o w e r s a v e p r o c e s s i n g s l e e p m o d e t h i s s t o p s a l l o p e r a t i o n s i n t h e l c d d i s p l a y s y s t e m , a n d a s l o n g a s t h e r e a r e n o a c c e s s e s f r o m t h e m p u , t h e c o n s u m p t i o n c u r r e n t i s r e d u c e d t o a v a l u e n e a r t h e s t a t i c c u r re n t . s t a n d b y m o d e t h e d u t y l c d d i s p l a y s y s t e m o p e ra t i o n s a r e h a l t e d a n d o n l y t h e s t a t i c d r i v e s y s t e m f o r t h e i n d i c a t o r c o n t i n u e s t o o p e r a t e , p r o v i d i n g t h e m i n i m u m r e q u i r e d c o n s u m p t i o n c u r r e n t f o r t h e s t a t i c d r i v e . w h e n a re s e t c o m m a n d i s p e r f o r m e d w h i l e i n s t a n d b y m o d e , t h e s y s t e m e n t e r s s l e e p m o d e .
1 1 3 s a m p l e s o u r c e c o d e t h e f o l l o w i n g a r e e x a m p l e s a d 1 2 8 6 4 s p i l c d m o d u l e c o n t r o l l e d b y d i f f e r e n t m c u . 3 . 1 a d - 1 2 8 6 4 - s p i l c d d r i v e r c o d e b a s e d o n m c s 5 1 t h e m a i n l y a p p l i c a t i o n p r o g r a m m i n g i n t e r f a c e f u n c t i o n i n c l u d i n g w r i t e d a t a , w r i t e c o m m a n d , a n d r e a d d a t a i s s h o w n a s f o l l o w . #include "reg51.h" #include "intrins.h" s b i t l c d _ c s = p 0 ^ 7 ; s b i t l c d _ r e s = p 0 ^ 6 ; s b i t l c d _ a 0 = p 0 ^ 5 ; s b i t l c d _ c l k = p 0 ^ 4 ; s b i t l c d _ s d i = p 0 ^ 3 ; //================================================= ======================= / / f u n c t i o n n a m e : v o i d l c d _ d a t a w r i t e (u n s i g n e d i n t d a t a ) / / d e s c r i p t i o n : w r i t e 1 b y t e d a t e t o d i s p l a y r a m / / p a r a m e t e r s : w r i t e d a t a / / r e t u rn : n o n e / / c o m m e n t s : n o n e // version: / / 2 0 0 7 / 0 5 / 1 7 f i r s t v e r s i o n //================================================= ======================= void lcd_datawrite(unsigned char dat)//,_fill_dot_l cd { u n s i g n e d c h a r n u m ; l c d _ c s = 0 ; l c d _ a0 = 1 ; f o r( n u m = 0 ; n u m < 8 ; n u m + + ) { i f ( ( d a t & 0 x 8 0 ) = = 0 ) l c d _ s d i = 0 ; e l s e l c d _ s d i = 1 ; d a t = d a t < < 1 ; l c d _ c l k = 0 ; l c d _ c l k = 1 ; } l c d _ c s = 1 ;
1 2 } //================================================= ======================= / / f u n c t i o n n a m e : v o i d l c d _ r e g w r i t e ( u n s i g n e d c h a r c o m m a n d ) / / d e s c r i p t i o n : w r i t e 1 b y t e d a t a t o c o n t r o l r e g i s t e r / / p a r a m e t e r s : c o m m a n d , w r i t e d a t a / / r e t u rn : n o n e / / c o m m e n t s : n o n e // version: / / 2 0 0 7 / 0 5 / 1 7 f i r s t v e r s i o n //================================================= ======================= void lcd_regwrite(unsigned char command) { u n s i g n e d c h a r n u m ; l c d _ c s = 0 ; l c d _ a 0 = 0 ; f o r( n u m = 0 ; n u m < 8 ; n u m + + ) { i f ( ( c o m m a n d & 0 x 8 0 ) = = 0 ) l c d _ s d i = 0 ; e l s e l c d _ s d i = 1 ; c o m m a n d = c o m m a n d < < 1 ; l c d _ c l k = 0 ; l c d _ c l k = 1 ; } l c d _ c s = 1 ; } u s e r s c a n r e f e r t o f o l l o w i n g c o d e t o w r i t e l c d i n i t i a l f u n c t i o n . ( * r e c o m m e n d e d ) //================================================= ======================= / / f u n c t i o n n a m e : v o i d l c d _ i n i t ( v o i d ) / / d e s c r i p t i o n : l c d i n i t i a l f u n c t i o n . u s e r s c a n r e f e r t o s t 7 5 6 5 d a t a s h e e t f o r m o r e i n f o r m a t i o n / / p a r a m e t e r s : n o n e / / r e t u rn : n o n e / / c o m m e n t s : n o n e // version: / / 2 0 0 6 / 1 0 / 1 5 f i r s t v e r s i o n / / 2 0 0 7 / 0 1 / 0 9 v 1 . 2 / / = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = //delay v o i d timedelay(int time)
1 3 { i n t i ; i f (t i m e > 0 ) { f o r ( i = 0 ; i < 8 0 0 ; i + + ) { } t i m e ; } } void lcd_init(void) { / / i n i t i a l a l l o f p o r t l c d d r i v e r u s e ( i f n e c e s s a ry ) / / l c d _ p o r t i n i t ( ); t i m e d e l a y (2 0 0 ) ; l c d _ r s = 0 ; t i m e d e l a y ( 2 0 0 ) ; l c d _ r s = 1 ; l c d _ r e g w r i t e ( 0 x a f ) ; / / l c d o n l c d _ r e g w r i t e ( 0 x 2 f ) ; / / s e t p o w e r c o n t r o l m o d e l c d _ r e g w r i t e ( 0 x 8 1 ) ; / / s e t e l e c t r o n i c v o l u m e m o d e l c d _ r e g w r i t e ( 0 x 1 f ) ; / / c o m m a n d d a t a 0 x 0 0 0 0 ~ 0 x 0 0 3 f l c d _ r e g w r i t e ( 0 x 2 7 ) ; / / s e t v 5 i n t e rn a l v o l t a g e a d j u s t m e n t r e s i s t o r l c d _ r e g w r i t e ( 0 x a 2 ) ; / / s e t l c d b i a s l c d _ r e g w r i t e ( 0 x c 8 ) ; / / c o m s c a n d i r e c t i o n s e t , r e v e r s e l c d _ r e g w r i t e ( 0 x a 0 ) ; / / s e l e c t s e g m e n t d i r e c t i o n , n o r m a l l c d _ r e g w r i t e ( 0 x a 4 ) ; / / s e t a l l p o i n t o n / o f f c o m m a n d l c d _ r e g w r i t e ( 0 x a 6 ) ; / / s e t n o r m a l / r e v e r s e d i s p l a y c o m m a n d l c d _ r e g w r i t e ( 0 x a c ) ; / / c l o s e s t a ti c i n d i c a t o r l c d _ r e g w r i t e ( 0 x 0 0 ) ; / / c o m m a n d d a t a l c d _ r e g w r i t e ( 0 x 4 0 + 0 ) ; / / s e t s t a r t c o m m o n r a m l c d _ r e g w r i t e ( 0 x e 0 ) ; / / s e t r e a d / w ri t e m o d e }
1 4 4 s a l e s a n d d e s i g n s u p p o r t a k i h a b a r a i n c . i s a p r e f e s s i o n a l l c d m o d u l e d e s i g n c o m p a n y , h a s r i c h e x p e ri e n c e i n l c d d ri v e r a n d l c d d r i v e r f i r m w a r e , d e s i g n s m a n y g o o d p o r t a b i l i t y p r o g r a m . b e s i d e s , w e w i l l d e s i g n m o r e a n d b e t t e r d ri v e r c o d e t o a c c o m m o d a t e d i f f e r e n t u s e . a n d , w e w i l l g i v e m o r e re f e r e n c e t o h m i d e s i g n , o r s p e c i a l i z e s c u s t o m e r o r d e r . u s e r s w o u l d g e t p e r f e c t p r o d u c t s , a n d p r e f e s s i o n a l t e c h n i c a l s u p p o r t . p e r f e c t p ro d u c t s a n d p r e f e s s i o n a l t e c h n i c a l s u p p o r t i s o u r l o n g t e rm a n d m o s t i m p o rt a n t a i m s . u s e rs w o u l d g e t s a l e s a n d d e s i g n s u p p o rt b y f o l l o w i n g i n f o r m a t i o n .


▲Up To Search▲   

 
Price & Availability of AD-12864-SPI

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X